from django.urls import path

from car import views

urlpatterns = [
    path('api/cars-by-make/<str:make>/', views.cars_by_make, name='cars-by-make'),
    path('api/cars-by-model/<str:model>/', views.cars_by_model, name='cars-by-model'),
    path('api/carslist/',views.carlist,name = 'carslist'),
    path('api/carlist_b_name/',views.carlist_b_name,name = 'carlist_b_name'),
    path('api/c_series_name/',views.c_series_name,name = 'c_series_name'),
    path('api/car_details/',views.car_details,name = 'car_details'),
    path('api/allshow/show_all_years_sales/',views.show_all_years_sales,name = 'show_all_years_sales'),
    path('api/show/getautomobile/',views.get_automobile,name = 'get_automobile'),
    path('api/show/get_carmsg/',views.get_carmsg,name = 'get_carmsg'),
    path('api/show/getsalesdata/',views.getsalesdata,name = 'getsalesdata'),
    path('api/addnewcomment/', views.addnewcomment, name='addnewcomment'),
    path('api/likeuser/', views.likeuser, name='likeuser'),


]